package cn.fl.finance.util;

import java.io.Serializable;

public class BaseResultVO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4484276149301417222L;
	
	public BaseResultVO (){
		
	}
    public BaseResultVO (String info){
    	this.info = info;
	}
	
    public BaseResultVO (int success,String info){
		this.success = success;
		this.info = info;
	}
    
	 /**
     * 交互成功标识 1标识成功  0标识失败
     */
    private int success;
    /**
     * 交互前端展示信息
     */
    private String info;
    /**
     * 成功失败数据
     */
    private Object data;
    
    /**
     * 交互失败原因
     */
    private String error;

	public int getSuccess() {
		return success;
	}

	public void setSuccess(int success) {
		this.success = success;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}
}
